"""w+ a+"""

f = open('filetestasdasdasd.txt', mode='w+', encoding='utf-8')  # 以写为主  以读为辅
# FileNotFoundError  testasd文件并没有找到
print(f.writable())
print(f.readable())


# f = open('filetestasdasdas.txt', mode='r+', encoding='utf-8')  # 以读为主  以写为辅
# # FileNotFoundError  testasd文件并没有找到
# print(f.writable())
# print(f.readable())